﻿<%@ Page Title="3D>TALK Artist listing" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="artistlist.aspx.vb" Inherits="_3dTalk.artistlist" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        List of members</p>
    <p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Firstname" HeaderText="Firstname" SortExpression="Firstname" />
            <asp:BoundField DataField="Surname" HeaderText="Surname" SortExpression="Surname" />
            <asp:BoundField DataField="Nickname" HeaderText="Nickname" SortExpression="Nickname" />
            <asp:HyperLinkField DataNavigateUrlFields="WebURL" DataTextField="WebURL" HeaderText="Website" Target="_blank">
         
            </asp:HyperLinkField>
          
            <asp:HyperLinkField DataNavigateUrlFields="Email" DataTextField="Email" DataTextFormatString="<a href=mailto:{0}>{0}</a>"  HeaderText="Email" Target="_self" >
            </asp:HyperLinkField>
          
             </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:3dtalkConnectionString %>" ProviderName="<%$ ConnectionStrings:3dtalkConnectionString.ProviderName %>" SelectCommand="SELECT [Title], [Firstname], [Surname], [Nickname], [Email], [WebURL] FROM [Artists]"></asp:SqlDataSource>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</asp:Content>
